package io.renren.modules.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.generator.dao.JobgradecodeDao;
import io.renren.modules.generator.entity.JobgradecodeEntity;
import io.renren.modules.generator.service.JobgradecodeService;



@Service("jobgradecodeService")
public class JobgradecodeServiceImpl implements JobgradecodeService {
	@Autowired
	private JobgradecodeDao jobgradecodeDao;
	
	@Override
	public JobgradecodeEntity queryObject(Integer code){
		return jobgradecodeDao.queryObject(code);
	}
	
	@Override
	public List<JobgradecodeEntity> queryList(Map<String, Object> map){
		return jobgradecodeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return jobgradecodeDao.queryTotal(map);
	}
	
	@Override
	public void save(JobgradecodeEntity jobgradecode){
		jobgradecodeDao.save(jobgradecode);
	}
	
	@Override
	public void update(JobgradecodeEntity jobgradecode){
		jobgradecodeDao.update(jobgradecode);
	}
	
	@Override
	public void delete(Integer code){
		jobgradecodeDao.delete(code);
	}
	
	@Override
	public void deleteBatch(Integer[] codes){
		jobgradecodeDao.deleteBatch(codes);
	}
	
}
